package com.cyk.feigh;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-user", fallback = UserFallback.class)
public interface UserFeighClient {

    @GetMapping("/info/{token}")
    public String info(@PathVariable String token);
}
